package com.mdd.admin.service.order;

import com.mdd.admin.validate.order.ChangeRepaymentDateRecordCreateValidate;
import com.mdd.admin.validate.order.ChangeRepaymentDateRecordSearchValidate;
import com.mdd.admin.validate.order.ChangeRepaymentDateRecordUpdateValidate;
import com.mdd.admin.vo.order.ChangeRepaymentDateRecordDetailVo;
import com.mdd.admin.vo.order.ChangeRepaymentDateRecordListedVo;
import com.mdd.common.base.page.PageValidate;
import com.mdd.common.core.PageResult;

/**
 * 还款日期修改记录服务接口类
 * @author LikeAdmin
 */
public interface IChangeRepaymentDateRecordService {

    /**
     * 还款日期修改记录列表
     *
     * @author LikeAdmin
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<OrderChangeRepaymentDateRecordListedVo>
     */
    PageResult<ChangeRepaymentDateRecordListedVo> list(PageValidate pageValidate, ChangeRepaymentDateRecordSearchValidate searchValidate);

    /**
     * 还款日期修改记录详情
     *
     * @author LikeAdmin
     * @param id 主键ID
     * @return OrderChangeRepaymentDateRecordDetailVo
     */
    ChangeRepaymentDateRecordDetailVo detail(Long id);

    /**
     * 还款日期修改记录新增
     *
     * @author LikeAdmin
     * @param createValidate 参数
     */
    void add(ChangeRepaymentDateRecordCreateValidate createValidate);

    /**
     * 还款日期修改记录编辑
     *
     * @author LikeAdmin
     * @param updateValidate 参数
     */
    void edit(ChangeRepaymentDateRecordUpdateValidate updateValidate);

    /**
     * 还款日期修改记录删除
     *
     * @author LikeAdmin
     * @param id 主键ID
     */
    void del(Long id);

}
